.cl-textarea {
	width: 100%;
	box-sizing: border-box;
	background-color: #fff;
	position: relative;
	line-height: 36rpx;
	border-radius: $cl-textarea-border-radius;

	/* #ifdef MP-WEIXIN */
	padding: 0 10rpx;
	/* #endif */

	/* #ifdef MP-ALIPAY */
	padding: 10rpx 0;
	/* #endif */

	/* #ifndef MP */
	padding: 10rpx 10rpx 10rpx 16rpx;
	/* #endif */

	textarea {
		width: 100%;
		box-sizing: border-box;
		font-size: $cl-textarea-font-size;
	}

	&.is-disabled {
		background-color: $cl-textarea-disabled-background-color;
		color: $cl-textarea-disabled-color;
	}

	&__count {
		position: absolute;
		right: 10rpx;
		bottom: 4rpx;
		font-size: 24rpx;
		letter-spacing: 1rpx;
		color: #999;
	}

	&.is-count {
		/* #ifndef MP-ALIPAY */
		padding-bottom: 40rpx;
		/* #endif */
	}

	&.is-border {
		border: $cl-textarea-border-width solid $cl-textarea-border-color;
	}
}
